package com.ruoyi.internet.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author: cjie
 * @description: 我的发布视图
 * @date: 2021/8/25
 */
@Data
@ApiModel
public class MyPublishVO {
    /** Id */
    @ApiModelProperty(value = "Id")
    private String id;

    /**服务模块*/
    @ApiModelProperty("服务模块")
    private String serviceModel;

    /**服务名称*/
    @ApiModelProperty("服务名称")
    private String serviceName;

    /** 发布时间 */
    @ApiModelProperty("发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 状态 */
    @ApiModelProperty(value = "状态")
    private String state;

    /** 发布商Id */
    @ApiModelProperty(value = "发布商Id")
    private Long expirationUserId;

    /** 开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始日期")
    private String beginDate;

    /** 结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束日期")
    private String endDate;
}
